#ifndef NEWDOWNLOADDIALOG_H
#define NEWDOWNLOADDIALOG_H

#include <QDialog>
#include <QLineEdit>
#include <QPushButton>
#include "PrioritySpinBox.h"

class NewDownloadDialog : public QDialog
{
	Q_OBJECT
	QLineEdit *downloadLink;
	QLineEdit *savingPath;
	PrioritySpinBox *priorityChooser;
	QPushButton *okButton;
public:
	explicit NewDownloadDialog(QWidget *parent = 0);
	QString getDownloadLink() const;
	QString getSavingPath() const;
	int getPriority() const;
	
signals:
	
private slots:
	void searchSavingPath();
	void checkInput();
	
};

#endif // NEWDOWNLOADDIALOG_H
